{% extends "web_user/layout.html" %}

{% block content %}
    <div class="container">
        <form method="post" enctype="multipart/form-data"> <!-- enctype="multipart/form-data"支持文件上传属性-->
            {% csrf_token %}
            <input type="text" name="username">
            <input type="file" name="avatar">
            <input type="submit" value="提交">

        </form>

    </div>

{% endblock %}